﻿#include "DLL.h"
#include <windows.h>
#include "CSAllegroController.h"
#include "CScreen.h"
//using namespace DarkStorm2D;
//using namespace DarkStorm2D::GraphicsCore;
//CSAllegroController* AllegroControl; // jedyny obiekt kontrolera Allegro.
//CScreen* Screen; // jedyny obiekt okna renderingu.
BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason, LPVOID reserved)
{
	switch (reason)
	{
	case DLL_PROCESS_ATTACH:
		/*AllegroControl = new CSAllegroController();
		Screen = new CScreen();*/
		break;
	case DLL_PROCESS_DETACH:
		/*delete AllegroControl;
		delete Screen;*/
		break;
	case DLL_THREAD_ATTACH:
		break;
	case DLL_THREAD_DETACH:
		break;
	}
	return TRUE;
}